using System;
using System.Collections.Generic;
using System.Text;
using ImagesMath;

namespace Graphics
{
    public class Form
    {
        //public virtual Form() {}

        public virtual bool FirstIntersection(ref Ray ray, ref Intersection inter)	// Rempli inter.t et renvoie true si 1 intersection
        {
            return false;
        }
        public virtual VR3 Normal(PR3 p, ref Ray ray) // Renvoi normale locale
        {
            return new VR3(p);
        }
        public virtual bool IsInside(PR3 p)
        {
            return false;
        }
        public virtual string getName()
        {
            return nomObjet;
        }
        public virtual void setName(string name)
        {
            nomObjet = name;
        }

            

        protected string  nomObjet;

    }
}




